package com.example.chatchatbackend.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.chatchatbackend.entity.dto.Shopping;
import com.example.chatchatbackend.entity.dto.UserTags;
import com.example.chatchatbackend.entity.vo.response.ShoppingVO;


import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 丁真
 * @since 2024-10-28 05:03:47
 */
public interface ShoppingService extends IService<Shopping> {


    List<Shopping> getAll();

    IPage<Shopping> pageThree(Integer pageNum, Integer pageSize) ;

    ShoppingVO insertShopping(ShoppingVO shoppingsVO);

    List<ShoppingVO> insertShoppingList(List<ShoppingVO> shoppingsVOList);

    ShoppingVO updateShopping(ShoppingVO shoppingVO);

    void deleteByIds(List<Integer> ids);

    List<ShoppingVO> findByIds(List<Integer> ids);
}
